﻿namespace GeneralDFS.DataEntity.Enum
{
    /// <summary>
    /// DataNode节点状态
    /// </summary>
    public enum DataNodeState {Alive,UNormal,Offline};

    /// <summary>
    /// NameNode节点的状态
    /// </summary>
    public enum NameNodeState
    {
        /// <summary>
        /// 节点构造中
        /// </summary>
        UnderContract,

        /// <summary>
        /// 安全模式
        /// </summary>
        SafeMode,

        /// <summary>
        /// 在线
        /// </summary>
        Online,

        /// <summary>
        /// 出错，未确定状态
        /// </summary>
        Undertermine,

        /// <summary>
        /// 离线
        /// </summary>
        Offline
    };
}
